package com.yunxi.model.order;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单取消原因
 * </p>
 *
 * @author 
 * @since 2019-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_order_cancel_reason")
@ApiModel(value="OrderCancelReason对象", description="订单取消原因")
public class OrderCancelReason implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "CANCEL_ID", type = IdType.UUID)
    private String cancelId;

    @ApiModelProperty(value = "订单ID")
    @TableField("ORDER_CAR_ID")
    private String orderCarId;

    @ApiModelProperty(value = "取消原因")
    @TableField("INFO")
    private String info;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_DATE",fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_DATE",fill = FieldFill.UPDATE)
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "审核状态1审核通过 2待审核 3驳回")
    @TableField("CHECK_STATUS")
    private Integer checkStatus;

    @ApiModelProperty(value = "驳回原因")
    @TableField("REJECT_INFO")
    private String rejectInfo;

    @ApiModelProperty(value = "审核时间")
    @TableField("AUDIT_DATE")
    private Date auditDate;

    @ApiModelProperty(value = "审核人")
    @TableField("AUDIT_BY")
    private String auditBy;
}
